interface Message {
    id?: number;
    title?: string;
    content?: string;
    user: string;
    state?: number;
    create_time?: Date;
}

export class MessageModel implements Message {
    id?: number | undefined;
    title?: string | undefined;
    content?: string | undefined;
    user!: string;
    state?: number | undefined;
    create_time?: Date | undefined;
}